package com.qqaq.Controller;

import com.qqaq.entities.CommonResponse;
import com.qqaq.service.CustomerFeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class MainFeignController {
    @Resource
    CustomerFeignService customerFeignService;

    @GetMapping("/customer/")
    public CommonResponse index(){

        return customerFeignService.index();
    }
}
